const App = {
    mixins: [Save],//配置文件，路径/utils/mixins.js
    data() {
        return {
            Form: {},
            child: [],
            personal: [],
            organization: [],
            Party_Organization: [],
        
            
        };
    },
    'dataForm.Application_SerialNumber'(val) {

    },
    mounted() {
        this.dataForm.Work_Team_Member_SerialNumber = this.nodeKey;
       
       

    },
    methods: {
        

        

        changeOrganization(val) {
            this.dataForm.Party_Organization_SerialNumber = val[val.length - 1]
        },
        handleChange(val) {
            console.log(val)
        }
        // getPersonal() {
        //     $.ajax({
        //         headers: {
        //             "content-type": "application/x-www-form-urlencoded",
        //         },
        //         url: `${mh}/generalBusiness/generalQueryBySQLSerialNumber`,
        //         type: "POST",
        //         data: {
        //             SQLSerialNumber: "work_teams_members",
        //             Condition: window.btoa(unescape(encodeURIComponent(this.nodeKey))),
        //         },
        //         success: (data) => {
        //             this.Form = data[0];
        //             $.ajax({
        //                 headers: {
        //                     "content-type": "application/x-www-form-urlencoded",
        //                 },
        //                 url: `${mh}/generalBusiness/generalQueryByTableNameWithOriginal`,
        //                 method: "post",
        //                 data: {
        //                     Data: 'work_teams_members',
        //                     Condition: `Work_Team_SerialNumber='${this.Form.Work_Team_SerialNumber}' AND Row_Status='0'`,
        //                 },
        //                 success: (res) => {
        //                     console.log(res);
        //                     // this.child = res
        //                 }
        //             });
        //         },
        //         dataType: "json",
        //     });

        // },
    },
    onload(){
       

    }
};
const { createApp, ref } = Vue;
const app = createApp(App);
app.use(ElementPlus, { locale: zhCn });
//这种方式是引入全部图标，无需单个引入
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
}
app.component('yl-upload', ylUpload);
const ElMessage = ElementPlus.ElMessage;
app.mount("#app");
